package com.hyd.dao.model;

import java.util.List;
import java.util.ArrayList;

public class EvidenceExample {
	protected String orderByClause;

	protected boolean distinct;

	protected List<Criteria> oredCriteria;

	public EvidenceExample(){
		oredCriteria = new ArrayList<Criteria>();
	}

	public void setOrderByClause(String orderByClause) {
		this.orderByClause = orderByClause;
	}

	public String getOrderByClause() {
		return orderByClause;
	}

	public void setDistinct(boolean distinct) {
		this.distinct = distinct;
	}

	public boolean isDistinct() {
		return distinct;
	}

	public List<Criteria> getOredCriteria() {
		return oredCriteria;
	}

	public void or(Criteria criteria) {
		oredCriteria.add(criteria);
	}

	public Criteria or() {
		Criteria criteria = createCriteriaInternal();
		oredCriteria.add(criteria);
		return criteria;
	}

	public Criteria createCriteria() {
		Criteria criteria = createCriteriaInternal();
		if (oredCriteria.size() == 0) {
			oredCriteria.add(criteria);
		}
		return criteria;
	}

	protected Criteria createCriteriaInternal() {
		Criteria criteria = new Criteria();
		return criteria;
	}

	public void clear() {
		oredCriteria.clear();
		orderByClause = null;
		distinct = false;
	}

	protected abstract static class GeneratedCriteria {
		protected List<Criterion> criteria;

		protected GeneratedCriteria() {
			super();
			criteria = new ArrayList<Criterion>();
		}

		public boolean isValid() {
			return criteria.size() > 0;
		}

		public List<Criterion> getAllCriteria() {
			return criteria;
		}

		public List<Criterion> getCriteria() {
			return criteria;
		}

		protected void addCriterion(String condition) {
			if (condition == null) {
				throw new RuntimeException("Value for condition cannot be null");
			}
			criteria.add(new Criterion(condition));
		}

		protected void addCriterion(String condition, Object value, String property) {
			if (value == null) {
				throw new RuntimeException("Value for " + property + " cannot be null");
			}
			criteria.add(new Criterion(condition, value));
		}

		protected void addCriterion(String condition, Object value1, Object value2, String property) {
			if (value1 == null || value2 == null) {
				throw new RuntimeException("Between values for " + property + " cannot be null");
			}
			criteria.add(new Criterion(condition, value1, value2));
		}

		public Criteria andIdIsNull() {
			addCriterion("id is null");
			return (Criteria) this;
		}

		public Criteria andIdIsNotNull() {
			addCriterion("id is not null");
			return (Criteria) this;
		}

		public Criteria andIdEqualTo(Integer value) {
			addCriterion("id =", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdNotEqualTo(Integer value) {
			addCriterion("id <>", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdGreaterThan(Integer value) {
			addCriterion("id >", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdGreaterThanOrEqualTo(Integer value) {
			addCriterion("id >=", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdLessThan(Integer value) {
			addCriterion("id <", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdLessThanOrEqualTo(Integer value) {
			addCriterion("id <=", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdIn(List<Integer> values) {
			addCriterion("id in", values, "id");
			return (Criteria) this;
		}

		public Criteria andIdNotIn(List<Integer> values) {
			addCriterion("id not in", values, "id");
			return (Criteria) this;
		}

		public Criteria andIdBetween(Integer value1, Integer value2) {
			addCriterion("id between", value1, value2, "id");
			return (Criteria) this;
		}

		public Criteria andIdNotBetween(Integer value1, Integer value2) {
			addCriterion("id not between", value1, value2, "id");
			return (Criteria) this;
		}

		public Criteria andHeaderInfoIsNull() {
			addCriterion("header_info is null");
			return (Criteria) this;
		}

		public Criteria andHeaderInfoIsNotNull() {
			addCriterion("header_info is not null");
			return (Criteria) this;
		}

		public Criteria andHeaderInfoEqualTo(String value) {
			addCriterion("header_info =", value, "headerInfo");
			return (Criteria) this;
		}

		public Criteria andHeaderInfoNotEqualTo(String value) {
			addCriterion("header_info <>", value, "headerInfo");
			return (Criteria) this;
		}

		public Criteria andHeaderInfoGreaterThan(String value) {
			addCriterion("header_info >", value, "headerInfo");
			return (Criteria) this;
		}

		public Criteria andHeaderInfoGreaterThanOrEqualTo(String value) {
			addCriterion("header_info >=", value, "headerInfo");
			return (Criteria) this;
		}

		public Criteria andHeaderInfoLessThan(String value) {
			addCriterion("header_info <", value, "headerInfo");
			return (Criteria) this;
		}

		public Criteria andHeaderInfoLessThanOrEqualTo(String value) {
			addCriterion("header_info <=", value, "headerInfo");
			return (Criteria) this;
		}

		public Criteria andHeaderInfoLike(String value) {
			addCriterion("header_info like", value, "headerInfo");
			return (Criteria) this;
		}

		public Criteria andHeaderInfoNotLike(String value) {
			addCriterion("header_info not like", value, "headerInfo");
			return (Criteria) this;
		}

		public Criteria andHeaderInfoIn(List<String> values) {
			addCriterion("header_info in", values, "headerInfo");
			return (Criteria) this;
		}

		public Criteria andHeaderInfoNotIn(List<String> values) {
			addCriterion("header_info not in", values, "headerInfo");
			return (Criteria) this;
		}

		public Criteria andHeaderInfoBetween(String value1, String value2) {
			addCriterion("header_info between", value1, value2, "headerInfo");
			return (Criteria) this;
		}

		public Criteria andHeaderInfoNotBetween(String value1, String value2) {
			addCriterion("header_info not between", value1, value2, "headerInfo");
			return (Criteria) this;
		}

		public Criteria andLogIdIsNull() {
			addCriterion("log_id is null");
			return (Criteria) this;
		}

		public Criteria andLogIdIsNotNull() {
			addCriterion("log_id is not null");
			return (Criteria) this;
		}

		public Criteria andLogIdEqualTo(String value) {
			addCriterion("log_id =", value, "logId");
			return (Criteria) this;
		}

		public Criteria andLogIdNotEqualTo(String value) {
			addCriterion("log_id <>", value, "logId");
			return (Criteria) this;
		}

		public Criteria andLogIdGreaterThan(String value) {
			addCriterion("log_id >", value, "logId");
			return (Criteria) this;
		}

		public Criteria andLogIdGreaterThanOrEqualTo(String value) {
			addCriterion("log_id >=", value, "logId");
			return (Criteria) this;
		}

		public Criteria andLogIdLessThan(String value) {
			addCriterion("log_id <", value, "logId");
			return (Criteria) this;
		}

		public Criteria andLogIdLessThanOrEqualTo(String value) {
			addCriterion("log_id <=", value, "logId");
			return (Criteria) this;
		}

		public Criteria andLogIdLike(String value) {
			addCriterion("log_id like", value, "logId");
			return (Criteria) this;
		}

		public Criteria andLogIdNotLike(String value) {
			addCriterion("log_id not like", value, "logId");
			return (Criteria) this;
		}

		public Criteria andLogIdIn(List<String> values) {
			addCriterion("log_id in", values, "logId");
			return (Criteria) this;
		}

		public Criteria andLogIdNotIn(List<String> values) {
			addCriterion("log_id not in", values, "logId");
			return (Criteria) this;
		}

		public Criteria andLogIdBetween(String value1, String value2) {
			addCriterion("log_id between", value1, value2, "logId");
			return (Criteria) this;
		}

		public Criteria andLogIdNotBetween(String value1, String value2) {
			addCriterion("log_id not between", value1, value2, "logId");
			return (Criteria) this;
		}

		public Criteria andNameIsNull() {
			addCriterion("name is null");
			return (Criteria) this;
		}

		public Criteria andNameIsNotNull() {
			addCriterion("name is not null");
			return (Criteria) this;
		}

		public Criteria andNameEqualTo(String value) {
			addCriterion("name =", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameNotEqualTo(String value) {
			addCriterion("name <>", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameGreaterThan(String value) {
			addCriterion("name >", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameGreaterThanOrEqualTo(String value) {
			addCriterion("name >=", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameLessThan(String value) {
			addCriterion("name <", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameLessThanOrEqualTo(String value) {
			addCriterion("name <=", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameLike(String value) {
			addCriterion("name like", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameNotLike(String value) {
			addCriterion("name not like", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameIn(List<String> values) {
			addCriterion("name in", values, "name");
			return (Criteria) this;
		}

		public Criteria andNameNotIn(List<String> values) {
			addCriterion("name not in", values, "name");
			return (Criteria) this;
		}

		public Criteria andNameBetween(String value1, String value2) {
			addCriterion("name between", value1, value2, "name");
			return (Criteria) this;
		}

		public Criteria andNameNotBetween(String value1, String value2) {
			addCriterion("name not between", value1, value2, "name");
			return (Criteria) this;
		}

		public Criteria andAgeIsNull() {
			addCriterion("age is null");
			return (Criteria) this;
		}

		public Criteria andAgeIsNotNull() {
			addCriterion("age is not null");
			return (Criteria) this;
		}

		public Criteria andAgeEqualTo(String value) {
			addCriterion("age =", value, "age");
			return (Criteria) this;
		}

		public Criteria andAgeNotEqualTo(String value) {
			addCriterion("age <>", value, "age");
			return (Criteria) this;
		}

		public Criteria andAgeGreaterThan(String value) {
			addCriterion("age >", value, "age");
			return (Criteria) this;
		}

		public Criteria andAgeGreaterThanOrEqualTo(String value) {
			addCriterion("age >=", value, "age");
			return (Criteria) this;
		}

		public Criteria andAgeLessThan(String value) {
			addCriterion("age <", value, "age");
			return (Criteria) this;
		}

		public Criteria andAgeLessThanOrEqualTo(String value) {
			addCriterion("age <=", value, "age");
			return (Criteria) this;
		}

		public Criteria andAgeLike(String value) {
			addCriterion("age like", value, "age");
			return (Criteria) this;
		}

		public Criteria andAgeNotLike(String value) {
			addCriterion("age not like", value, "age");
			return (Criteria) this;
		}

		public Criteria andAgeIn(List<String> values) {
			addCriterion("age in", values, "age");
			return (Criteria) this;
		}

		public Criteria andAgeNotIn(List<String> values) {
			addCriterion("age not in", values, "age");
			return (Criteria) this;
		}

		public Criteria andAgeBetween(String value1, String value2) {
			addCriterion("age between", value1, value2, "age");
			return (Criteria) this;
		}

		public Criteria andAgeNotBetween(String value1, String value2) {
			addCriterion("age not between", value1, value2, "age");
			return (Criteria) this;
		}

		public Criteria andSexIsNull() {
			addCriterion("sex is null");
			return (Criteria) this;
		}

		public Criteria andSexIsNotNull() {
			addCriterion("sex is not null");
			return (Criteria) this;
		}

		public Criteria andSexEqualTo(String value) {
			addCriterion("sex =", value, "sex");
			return (Criteria) this;
		}

		public Criteria andSexNotEqualTo(String value) {
			addCriterion("sex <>", value, "sex");
			return (Criteria) this;
		}

		public Criteria andSexGreaterThan(String value) {
			addCriterion("sex >", value, "sex");
			return (Criteria) this;
		}

		public Criteria andSexGreaterThanOrEqualTo(String value) {
			addCriterion("sex >=", value, "sex");
			return (Criteria) this;
		}

		public Criteria andSexLessThan(String value) {
			addCriterion("sex <", value, "sex");
			return (Criteria) this;
		}

		public Criteria andSexLessThanOrEqualTo(String value) {
			addCriterion("sex <=", value, "sex");
			return (Criteria) this;
		}

		public Criteria andSexLike(String value) {
			addCriterion("sex like", value, "sex");
			return (Criteria) this;
		}

		public Criteria andSexNotLike(String value) {
			addCriterion("sex not like", value, "sex");
			return (Criteria) this;
		}

		public Criteria andSexIn(List<String> values) {
			addCriterion("sex in", values, "sex");
			return (Criteria) this;
		}

		public Criteria andSexNotIn(List<String> values) {
			addCriterion("sex not in", values, "sex");
			return (Criteria) this;
		}

		public Criteria andSexBetween(String value1, String value2) {
			addCriterion("sex between", value1, value2, "sex");
			return (Criteria) this;
		}

		public Criteria andSexNotBetween(String value1, String value2) {
			addCriterion("sex not between", value1, value2, "sex");
			return (Criteria) this;
		}

		public Criteria andDataInfoIsNull() {
			addCriterion("data_info is null");
			return (Criteria) this;
		}

		public Criteria andDataInfoIsNotNull() {
			addCriterion("data_info is not null");
			return (Criteria) this;
		}

		public Criteria andDataInfoEqualTo(String value) {
			addCriterion("data_info =", value, "dataInfo");
			return (Criteria) this;
		}

		public Criteria andDataInfoNotEqualTo(String value) {
			addCriterion("data_info <>", value, "dataInfo");
			return (Criteria) this;
		}

		public Criteria andDataInfoGreaterThan(String value) {
			addCriterion("data_info >", value, "dataInfo");
			return (Criteria) this;
		}

		public Criteria andDataInfoGreaterThanOrEqualTo(String value) {
			addCriterion("data_info >=", value, "dataInfo");
			return (Criteria) this;
		}

		public Criteria andDataInfoLessThan(String value) {
			addCriterion("data_info <", value, "dataInfo");
			return (Criteria) this;
		}

		public Criteria andDataInfoLessThanOrEqualTo(String value) {
			addCriterion("data_info <=", value, "dataInfo");
			return (Criteria) this;
		}

		public Criteria andDataInfoLike(String value) {
			addCriterion("data_info like", value, "dataInfo");
			return (Criteria) this;
		}

		public Criteria andDataInfoNotLike(String value) {
			addCriterion("data_info not like", value, "dataInfo");
			return (Criteria) this;
		}

		public Criteria andDataInfoIn(List<String> values) {
			addCriterion("data_info in", values, "dataInfo");
			return (Criteria) this;
		}

		public Criteria andDataInfoNotIn(List<String> values) {
			addCriterion("data_info not in", values, "dataInfo");
			return (Criteria) this;
		}

		public Criteria andDataInfoBetween(String value1, String value2) {
			addCriterion("data_info between", value1, value2, "dataInfo");
			return (Criteria) this;
		}

		public Criteria andDataInfoNotBetween(String value1, String value2) {
			addCriterion("data_info not between", value1, value2, "dataInfo");
			return (Criteria) this;
		}

		public Criteria andHeadTailIsNull() {
			addCriterion("head_tail is null");
			return (Criteria) this;
		}

		public Criteria andHeadTailIsNotNull() {
			addCriterion("head_tail is not null");
			return (Criteria) this;
		}

		public Criteria andHeadTailEqualTo(String value) {
			addCriterion("head_tail =", value, "headTail");
			return (Criteria) this;
		}

		public Criteria andHeadTailNotEqualTo(String value) {
			addCriterion("head_tail <>", value, "headTail");
			return (Criteria) this;
		}

		public Criteria andHeadTailGreaterThan(String value) {
			addCriterion("head_tail >", value, "headTail");
			return (Criteria) this;
		}

		public Criteria andHeadTailGreaterThanOrEqualTo(String value) {
			addCriterion("head_tail >=", value, "headTail");
			return (Criteria) this;
		}

		public Criteria andHeadTailLessThan(String value) {
			addCriterion("head_tail <", value, "headTail");
			return (Criteria) this;
		}

		public Criteria andHeadTailLessThanOrEqualTo(String value) {
			addCriterion("head_tail <=", value, "headTail");
			return (Criteria) this;
		}

		public Criteria andHeadTailLike(String value) {
			addCriterion("head_tail like", value, "headTail");
			return (Criteria) this;
		}

		public Criteria andHeadTailNotLike(String value) {
			addCriterion("head_tail not like", value, "headTail");
			return (Criteria) this;
		}

		public Criteria andHeadTailIn(List<String> values) {
			addCriterion("head_tail in", values, "headTail");
			return (Criteria) this;
		}

		public Criteria andHeadTailNotIn(List<String> values) {
			addCriterion("head_tail not in", values, "headTail");
			return (Criteria) this;
		}

		public Criteria andHeadTailBetween(String value1, String value2) {
			addCriterion("head_tail between", value1, value2, "headTail");
			return (Criteria) this;
		}

		public Criteria andHeadTailNotBetween(String value1, String value2) {
			addCriterion("head_tail not between", value1, value2, "headTail");
			return (Criteria) this;
		}

		public Criteria andImgIsNull() {
			addCriterion("img is null");
			return (Criteria) this;
		}

		public Criteria andImgIsNotNull() {
			addCriterion("img is not null");
			return (Criteria) this;
		}

		public Criteria andImgEqualTo(String value) {
			addCriterion("img =", value, "img");
			return (Criteria) this;
		}

		public Criteria andImgNotEqualTo(String value) {
			addCriterion("img <>", value, "img");
			return (Criteria) this;
		}

		public Criteria andImgGreaterThan(String value) {
			addCriterion("img >", value, "img");
			return (Criteria) this;
		}

		public Criteria andImgGreaterThanOrEqualTo(String value) {
			addCriterion("img >=", value, "img");
			return (Criteria) this;
		}

		public Criteria andImgLessThan(String value) {
			addCriterion("img <", value, "img");
			return (Criteria) this;
		}

		public Criteria andImgLessThanOrEqualTo(String value) {
			addCriterion("img <=", value, "img");
			return (Criteria) this;
		}

		public Criteria andImgLike(String value) {
			addCriterion("img like", value, "img");
			return (Criteria) this;
		}

		public Criteria andImgNotLike(String value) {
			addCriterion("img not like", value, "img");
			return (Criteria) this;
		}

		public Criteria andImgIn(List<String> values) {
			addCriterion("img in", values, "img");
			return (Criteria) this;
		}

		public Criteria andImgNotIn(List<String> values) {
			addCriterion("img not in", values, "img");
			return (Criteria) this;
		}

		public Criteria andImgBetween(String value1, String value2) {
			addCriterion("img between", value1, value2, "img");
			return (Criteria) this;
		}

		public Criteria andImgNotBetween(String value1, String value2) {
			addCriterion("img not between", value1, value2, "img");
			return (Criteria) this;
		}

		public Criteria andCreateTimeIsNull() {
			addCriterion("create_time is null");
			return (Criteria) this;
		}

		public Criteria andCreateTimeIsNotNull() {
			addCriterion("create_time is not null");
			return (Criteria) this;
		}

		public Criteria andCreateTimeEqualTo(java.util.Date value) {
			addCriterion("create_time =", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeNotEqualTo(java.util.Date value) {
			addCriterion("create_time <>", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeGreaterThan(java.util.Date value) {
			addCriterion("create_time >", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeGreaterThanOrEqualTo(java.util.Date value) {
			addCriterion("create_time >=", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeLessThan(java.util.Date value) {
			addCriterion("create_time <", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeLessThanOrEqualTo(java.util.Date value) {
			addCriterion("create_time <=", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeIn(List<java.util.Date> values) {
			addCriterion("create_time in", values, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeNotIn(List<java.util.Date> values) {
			addCriterion("create_time not in", values, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeBetween(java.util.Date value1, java.util.Date value2) {
			addCriterion("create_time between", value1, value2, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeNotBetween(java.util.Date value1, java.util.Date value2) {
			addCriterion("create_time not between", value1, value2, "createTime");
			return (Criteria) this;
		}

}

	public static class Criteria extends GeneratedCriteria {

		protected Criteria() {
			super();
		}
	}

	public static class Criterion {
		private String condition;

		private Object value;

		private Object secondValue;

		private boolean noValue;

		private boolean singleValue;

		private boolean betweenValue;

		private boolean listValue;

		private String typeHandler;

		public String getCondition() {
			return condition;
		}

		public Object getValue() {
			return value;
		}

		public Object getSecondValue() {
			return secondValue;
		}

		public boolean isNoValue() {
		return noValue;
		}

		public boolean isSingleValue() {
			return singleValue;
		}

		public boolean isBetweenValue() {
			return betweenValue;
		}

		public boolean isListValue() {
			return listValue;
		}

		public String getTypeHandler() {
			return typeHandler;
		}

		protected Criterion(String condition) {
			super();
			this.condition = condition;
			this.typeHandler = null;
			this.noValue = true;
		}

		protected Criterion(String condition, Object value, String typeHandler) {
			super();
			this.condition = condition;
			this.value = value;
			this.typeHandler = typeHandler;
			if (value instanceof List<?>) {
				this.listValue = true;
			} else {
				this.singleValue = true;
			}
		}

		protected Criterion(String condition, Object value) {
			this(condition, value, null);
		}

		protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
			super();
			this.condition = condition;
			this.value = value;
			this.secondValue = secondValue;
			this.typeHandler = typeHandler;
			this.betweenValue = true;
		}

		protected Criterion(String condition, Object value, Object secondValue) {
			this(condition, value, secondValue, null);
		}
	}
}